package com.leyou.constant;

import java.io.Serializable;


/**
 * @Author lixin
 * @Date 2018/10/24 0024 16:09
 * @Version 1.0
 * @Description 返回体
 **/
public class ResponseMessage implements Serializable {


    private static final long serialVersionUID = 2743906164235637111L;

    //头
    private Header header;

    //数据体
    private Object body;


    public ResponseMessage(Header header) {
        this.header = header;
        this.body = null;
    }

    public ResponseMessage(Header header, Object body) {
        this.header = header;
        this.body = body;
    }

    public Header getHeader() {
        return header;
    }

    public void setHeader(Header header) {
        this.header = header;
    }

    public Object getBody() {
        return body;
    }

    public void setBody(Object body) {
        this.body = body;
    }
}
